package com.qian.apiserver.entity;

import com.yaowk.service.common.BaseEntity;
import com.yaowk.service.common.GeneratorNote;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import java.util.Date;

@Getter
@Setter
@ToString
@DynamicInsert
@DynamicUpdate
@Entity
/**
 * 开牌设置
 */
public class GmOpenCard extends BaseEntity<Integer> {
    @GeneratorNote("牌1")
    private Integer card1;
    @GeneratorNote("牌2")
    private Integer card2;
    @GeneratorNote("牌3")
    private Integer card3;
    @GeneratorNote("牌4")
    private Integer card4;
    @GeneratorNote("牌5")
    private Integer card5;
    @GeneratorNote("牌6")
    private Integer card6;
    @GeneratorNote("牌7")
    private Integer card7;
    @GeneratorNote("牌8")
    private Integer card8;
    @GeneratorNote("牌9")
    private Integer card9;
    @GeneratorNote("创建时间")
    private Date time;
}
